﻿using Daitto.CommonTools.Service.Imple;
using Daitto.CommonTools.Service;
using Daitto.CommonTools;
using Prism.Ioc;
using Prism.Unity;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using WpfAppTest.Views;
using Daitto.CharpToCpp.Service;
using Daitto.CharpToCpp.Service.Imple;
using Daitto.Entity;

namespace WpfAppTest
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : PrismApplication
    {
        protected override Window CreateShell()
        {
            return Container.Resolve<MainWindow>();
        }

        protected override void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.Register<IDetectionAlgorithm, DetectionAlgorithmImple>();
            containerRegistry.RegisterSingleton<IClass1Test2<ClassTest>, Class1Test2Impl>();
        }
    }
}
